package com.cc.dao;

import com.cc.po.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by zcc on 2020/12/17.
 * 用户映射对象
 */
public interface UserRepository extends JpaRepository<User,Long> {
//操作数据库方法
    User findByUsernameAndPassword(String username,String password);
}
